<template>
  <div >
      <!-- Swiper -->
  <div class="swiper-container">
    <div class="swiper-wrapper">
        <slot></slot>
    </div>
    <!-- Add Pagination -->
    <div class="swiper-pagination"></div>
  </div>
  </div>
</template>

<script>

import Swiper from "swiper"


export default {
  components: {},
  props: {
  
  },
  data() {
    return {
    };
  },
  watch: {},
  computed: {},
  methods: {},
  created() {},
  mounted() {
      const swiper=new Swiper('.swiper-container', {
      pagination: {
        el: '.swiper-pagination',
        // hideOnClick :true,
        clickable :true,
      },
      autoplay:{
           delay: 3000,
          reverseDirection: true,
          disableOnInteraction: false,
      }
    });
  }
};
</script>
<style>
 @import "../../../../node_modules/swiper/dist/css/swiper.css";
</style>
<style  scoped>
/* @import "../../../../node_modules/swiper/dist/css/swiper.css"; */
.swiper-container {
      width: 100%;
      height: 100%;
      padding-top: 44px;
    }

    .swiper-slide {
      text-align: center;
      font-size: 18px;
      background: #fff;

      /* Center slide text vertically */
      display: -webkit-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      -webkit-justify-content: center;
      justify-content: center;
      -webkit-box-align: center;
      -ms-flex-align: center;
      -webkit-align-items: center;
      align-items: center;
    }
</style>